package com.csun.cmny.provider.model.dto.bedsideScreen;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class BindCMBedsideScreenDto implements Serializable {

    /**
     * 设备Id
     */
    @ApiModelProperty(value = "设备Id", required = true)
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    /**
     * 楼栋ID
     */
    @NotNull(message = "{cm.build.id.null}")
    private Integer buildId;

    /**
     * 绑定房间号
     */
    @NotNull(message = "{cm.room.name.null}")
    private String roomName;
}
